home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / APW Interfaces / AInclude / E16.Control < prev    next >
Encoding:
Text File  |  1992-02-26  |  6.3 KB  |  197 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Control
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-91
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. noConstraint GEQU $0000 ; No constraint on movement.
  9. hAxisOnly GEQU $0001 ; Horizontal axis only.
  10. vAxisOnly GEQU $0002 ; Vertical axis only.
  11. simpRound GEQU $0000 ; Simple button flag
  12. upFlag GEQU $0001 ; Scroll bar flag. 
  13. boldButton GEQU $0001 ; Bold round cornered outlined button.
  14. simpBRound GEQU $0001 ; Simple button flag
  15. downFlag GEQU $0002 ; Scroll bar flag.
  16. simpSquare GEQU $0002 ; Simple button flag
  17. simpDropSquare GEQU $0003 ; Simple button flag
  18. leftFlag GEQU $0004 ; Scroll bar flag.
  19. rightFlag GEQU $0008 ; Scroll bar flag.
  20. dirScroll GEQU $0010 ; Scroll bar flag.
  21. horScroll GEQU $0010 ; Scroll bar flag.
  22. family GEQU $007F ; Mask for radio button family number
  23. ctlInVis GEQU $0080 ; invisible mask for any type of control 
  24. fCallWindowMgr GEQU $0001 ; Control Template flag value
  25. fSubstituteText GEQU $0002
  26. fSubTextType GEQU $0001
  27. inListBox GEQU $88
  28. fBlastText GEQU $0004 ; static text control
  29. fTextCanDim GEQU $0008 ; static text control
  30. fNoTrackIcon GEQU $0008 ; make Icon Button play dead
  31.  
  32. simpleProc GEQU $00000000
  33. checkProc GEQU $02000000
  34. radioProc GEQU $04000000
  35. scrollProc GEQU $06000000
  36. growProc GEQU $08000000
  37. drawCtl GEQU $0000 ; Draw control command.
  38. calcCRect GEQU $0001 ; Compute drag RECT command.
  39. testCtl GEQU $0002 ; Hit test command.
  40. initCtl GEQU $0003 ; Initialize command.
  41. dispCtl GEQU $0004 ; Dispose command.
  42. posCtl GEQU $0005 ; Move indicator command.
  43. thumbCtl GEQU $0006 ; Compute drag parameters command.
  44. dragCtl GEQU $0007 ; Drag command.
  45. autoTrack GEQU $0008 ; Action command.
  46. newValue GEQU $0009 ; Set new value command.
  47. setParams GEQU $000A ; Set new parameters command.
  48. moveCtl GEQU $000B ; Move command.
  49. recSize GEQU $000C ; Return record size command.
  50. ctlHandleEvent GEQU $000D ; Handle a keystroke or menu selection
  51. ctlChangeTarget GEQU $000E ; Issued when control's target status has changed
  52. ctlChangeBounds GEQU $000F ; Issued when control's boundary rectangle has changed
  53. ctlWindChangeSize GEQU $0010 ; Window has been grown or zoomed
  54. ctlHandleTab GEQU $0011 ; Control has been tabbed to
  55. ctlNotifyMultiPart GEQU $0012 ; A multipart control has been hidden, drawn or shown
  56. ctlWinStateChange GEQU $0013 ; Window state has changed
  57. noHilite GEQU $0000 ; Param to HiliteControl
  58. inactiveHilite GEQU $00FF ; Param to HiliteControl
  59. noPart GEQU $0000
  60. simpleButton GEQU $0002
  61. checkBox GEQU $0003
  62. radioButton GEQU $0004
  63. upArrow GEQU $0005
  64. downArrow GEQU $0006
  65. pageUp GEQU $0007
  66. pageDown GEQU $0008
  67. growBox GEQU $000A
  68. thumb GEQU $0081
  69.  
  70. ; moreFlags values
  71. fCtlTarget GEQU $8000 ; is current target of typing commands
  72. fCtlCanBeTarget GEQU $4000 ; can be made the target control
  73. fCtlWantEvent GEQU $2000 ; control can be called view SendEventToCtl
  74. fCtlWantsEvent GEQU $2000 ; control can be called view SendEventToCtl
  75. fCtlWantEvents GEQU $2000 ; control can be called view SendEventToCtl
  76. fCtlWantsEvents GEQU $2000 ; control can be called view SendEventToCtl
  77. fCtlProcRefNotPtr GEQU $1000 ; set = ID of defproc, clear = pointer to defproc
  78. fCtlTellAboutSize GEQU $0800 ; set if ctl needs notification when size of owning window changes
  79. fCtlIsMultiPart GEQU $0400 ; set if ctl needs notification to be hidden
  80. fMenuDefIsText GEQU $0004
  81. fDrawIconInResult GEQU $0020
  82. fDrawPopDownIcon GEQU $0080
  83.  
  84. colorDescriptor GEQU $000C ; indicates type of reference in colorRef
  85. styleDescriptor GEQU $0003 ; indicates type of reference in styleRef
  86. titleIsPtr GEQU $00
  87. titleIsHandle GEQU $01
  88. titleIsResource GEQU $02
  89. colorTableIsPtr GEQU $00
  90. colorTableIsHandle GEQU $04
  91. colorTableIsResource GEQU $08
  92. ctlHideCtl GEQU $12
  93. singlePtr GEQU $0000
  94. singleHandle GEQU $0001
  95. singleResource GEQU $0002
  96. ptrToPtr GEQU $0003
  97. ptrToHandle GEQU $0004
  98. ptrToResource GEQU $0005
  99. handleToPtr GEQU $0006
  100. handleToHandle GEQU $0007
  101. handleToResource GEQU $0008
  102. resourceToResource GEQU $0009
  103. simpleButtonControl GEQU $80000000
  104. checkControl GEQU $82000000
  105. radioControl GEQU $84000000
  106. scrollBarControl GEQU $86000000
  107. growControl GEQU $88000000
  108. statTextControl GEQU $81000000
  109. editLineControl GEQU $83000000
  110. editTextControl GEQU $85000000
  111. popUpControl GEQU $87000000
  112. listControl GEQU $89000000
  113. pictureControl GEQU $8D000000
  114. iconButtonControl GEQU $87FF0001
  115. thermometerControl GEQU $87FF0002
  116. rectangleControl GEQU $87FF0003
  117.  
  118. wmNotStartedUp GEQU $1001 ; Window manager was not initialized
  119. cmNotInitialized GEQU $1002 ; Control manager was not initialized
  120. noCtlInList GEQU $1003 ; Control not in window list
  121. noCtlError GEQU $1004 ; no controls in window
  122. noSuperCtlError GEQU $1005 ; no super controls in window
  123. noCtlTargetError GEQU $1006 ; no target super control
  124. notSuperCtlError GEQU $1007 ; action can only be done on super control
  125. canNotBeTargetError GEQU $1008 ; conrol cannot be made target
  126. noSuchIDError GEQU $1009 ; specified ID cannot be found
  127. tooFewParmsError GEQU $100A ; not enough params specified
  128. noCtlToBeTargetError GEQU $100B ; NextCtl call, no ctl could be target
  129. noFrontWindowError GEQU $100C ; there is no front window
  130. selectedIcon GEQU $0001
  131. openIcon GEQU $0002
  132. offline GEQU $0004
  133. fListString GEQU $0001
  134. fListSelect GEQU $0002
  135. fListScrollBar GEQU $0004
  136. fRightJustifyResult GEQU $0001
  137. fRightJustifyTitle GEQU $0002
  138. fInWindowOnly GEQU $0004
  139. fDontDrawResult GEQU $0008
  140. fDontDrawTitle GEQU $0010
  141. fDontHiliteTitle GEQU $0020
  142. fType2PopUp GEQU $0040
  143. ; offset constants for BarColors
  144. obarOutline GEQU 0
  145. obarNorArrow GEQU 2
  146. obarSelArrow GEQU 4
  147. obarArrowBack GEQU 6
  148. obarNorThumb GEQU 8
  149. obarSelThumb GEQU 10
  150. obarPageRgn GEQU 12
  151. obarInactive GEQU 14
  152. ; offset constants for BoxColors
  153. oboxReserved GEQU 0
  154. oboxNor GEQU 2
  155. oboxSel GEQU 4
  156. oboxTitle GEQU 6
  157. ; offset constants for BttnColors
  158. obttnOutline GEQU 0
  159. obttnNorBack GEQU 2
  160. obttnSelBack GEQU 4
  161. obttnNorText GEQU 6
  162. obttnSelText GEQU 8
  163. ; offset constants for CtlRec
  164. octlNext GEQU 0
  165. octlOwner GEQU 4
  166. octlRect GEQU 8
  167. octlFlag GEQU 16
  168. octlHilite GEQU 17
  169. octlValue GEQU 18
  170. octlProc GEQU 20
  171. octlAction GEQU 24
  172. octlData GEQU 28
  173. octlRefCon GEQU 32
  174. octlColor GEQU 36
  175. octlReserved GEQU 40
  176. octlID GEQU 56
  177. octlMoreFlags GEQU 60
  178. octlVersion GEQU 62
  179. ; offset constants for LimitBlk
  180. oboundRect GEQU 0
  181. oslopRect GEQU 8
  182. oaxisParam GEQU 16
  183. odragPatt GEQU 18
  184. ; offset constants for RadioColors
  185. oradReserved GEQU 0
  186. oradNor GEQU 2
  187. oradSel GEQU 4
  188. oradTitle GEQU 6
  189. ; offset constants for ControlTemplate
  190. opCount GEQU 0
  191. oID GEQU 2
  192. orect GEQU 6
  193. oprocRef GEQU 14
  194. oflag GEQU 18
  195. omoreFlags GEQU 20
  196. orefCon GEQU 22
  197.